package AboutAPP;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.widget.TextView;

import com.example.storage.R;

public class Aboutapp extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_aboutapp);

        TextView universityTextView = findViewById(R.id.tv_university);
        universityTextView.setOnClickListener(v -> {
            String url = "https://www.bjtu.edu.cn"; // 北京交通大学官网地址
            Intent intent = new Intent(Intent.ACTION_VIEW);
            intent.setData(Uri.parse(url));
            startActivity(intent);
        });
    }
}